var n, t = function(n) {
    return n && n.__esModule ? n : {
        default: n
    };
}(require("../../../utils/tools.js"));

getApp();

Page({
    onShow: function() {
        n = this;
        var e = {
            action: "examine",
            contr: "noLogin"
        };
        t.default.request(e, function(t) {
            3 == t.info.audit_model ? n.waitandjump("/weather/pages/index/index") : n.waitandjump("/bh_farm/pages/index/index");
        });
    },
    waitandjump: function(n) {
        wx.showToast({
            title: "拼命加载中",
            icon: "loading",
            duration: 500
        }), setTimeout(function() {
            wx.reLaunch({
                url: n
            });
        }, 500);
    }
});